#pragma once
#include "ISegment.h"

#include "KLineUtil.h"
#include "IPoint.h"
#include "PointWithHLC.h"

class SegmentWithHLC :
	public ISegment
{
public:
	int findPreviousPoint(int idx, float* pfOUT);
	void setSegment(int previousIdx, float previousPrice, int idx, float price, float* pfOUT);
	virtual void drawSegment(int dataLen, float* pfOUT, vector<KLine*>* kLines);
};

